﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FCT551.Models
{
    public class ProduceConfigModel
    {
        /// <summary>
        /// 档位id
        /// </summary>
        public int Id { get; set; }

        // <summary>
        /// 是否检测
        /// </summary>
        public bool IsTest { get; set; }

        // <summary>
        /// 延时
        /// </summary>
        public int TimeOut { get; set; }

        // <summary>
        /// 转速上限
        /// </summary>
        public double RotateSpeedUp { get; set; }

        // <summary>
        /// 转速下限
        /// </summary>
        public double RotateSpeedDown { get; set; }

        // <summary>
        /// 电流上限
        /// </summary>
        public double VoltageUp { get; set; }

        // <summary>
        ///  电流下限
        /// </summary>
        public double VoltageDown { get; set; }

        // <summary>
        /// 转速补偿
        /// </summary>
        public int RotateSpeedOffset { get; set; }

        // <summary>
        /// 电流补偿
        /// </summary>
        public double VoltageOffset { get; set; }

        // <summary>
        /// 该挡位PWM占空比
        /// </summary>
        public int PWMValue { get; set; }

        // <summary>
        /// 转速区间个数
        /// </summary>
        public int PWMValueNums { get; set; }

        // <summary>
        /// PWM关闭时的占空比
        /// </summary>
        public int PWMCloseValue { get; set; }
    }
}